package com.wrial.seckill.error;
/*
 * @Author  Wrial
 * @Date Created in 9:57 2020/4/4
 * @Description
 */

public interface CommonError {
    Integer getCode();

    String getMessage();

    // 因为对一些同类异常的异常码相同，只需要修改message
    CommonError setMessage(String message);

}
